package com.tizona.entity;

import java.sql.Timestamp;

/**
 * Created by Vitaliy Kim.
 * Date: 18.08.2005
 * Time: 17:43:46
 */
public class Chunk {

    /** identifier field */
    private Long RId;

    /** identifier field */
    private Long channel;

    /** persistent field */
    private long upload;

    /** persistent field */
    private long time;

    /** persistent field */
    private long download;

    /** persistent field */
    private Timestamp timestamp;

    /** persistent field */
    private boolean processed;

    private Split split;

    private TrafficSplit trafficSplit;

    public Chunk(Long RId, Long channel, long upload, long time, long download, Timestamp timestamp, Split split) {
        this.RId = RId;
        this.channel = channel;
        this.upload = upload;
        this.time = time;
        this.download = download;
        this.timestamp = timestamp;
        this.split = split;
    }

    public Long getRId() {
        return RId;
    }

    public void setRId(Long RId) {
        this.RId = RId;
    }

    public long getUpload() {
        return upload;
    }

    public void setUpload(long upload) {
        this.upload = upload;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public long getDownload() {
        return download;
    }

    public void setDownload(long download) {
        this.download = download;
    }

    public Timestamp getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Timestamp timestamp) {
        this.timestamp = timestamp;
    }

    public boolean isProcessed() {
        return processed;
    }

    public void setProcessed(boolean processed) {
        this.processed = processed;
    }

    public Long getChannel() {
        return channel;
    }

    public void setChannel(Long channel) {
        this.channel = channel;
    }

    public Split getSplit() {
        return split;
    }

    public void setSplit(Split split) {
        this.split = split;
    }

    public TrafficSplit getTrafficSplit() {
        return trafficSplit;
    }

    public void setTrafficSplit(TrafficSplit trafficSplit) {
        this.trafficSplit = trafficSplit;
    }

}
